import { InjectionKey, Ref } from "vue";

export interface iVideoItem {
  imgUrl: string;
  name: string;
  functionKey: string;
  title: string;
  videoUrl: string;
}

interface iFrameRoot {
  video: Ref<iVideoItem>;
  videoReset: () => void;
  showDrawer: Ref<boolean>;
}

export const PmFrameKey: InjectionKey<iFrameRoot> = Symbol("PmFrameKey");
